﻿namespace Admin.NET.Application.Entity;

/// <summary>
/// 设备指令处理结果
/// </summary>
public enum DeviceProcotolProessResult
{
    [Description("下发答复")]
    SendReply = -3,

    [Description("下发数据")]
    SendData = -2,

    [Description("上报答复")]
    ReportReply = -1,

    [Description("上报成功")]
    Success = 0,

    [Description("上报CRC错误")]
    CrcError = 1,

    [Description("上报数据不符合规范")]
    ReportDataError = 2,

    [Description("没有配置对应的从机")]
    NoSlaveConfig = 3,

    [Description("其他异常")]
    OtherError = 4,

    [Description("下发答复CRC错误")]
    SendReplyCrcError = 5,
}